/*     */ package cn.j2e.portal.domain;
/*     */ 
/*     */ import java.io.Serializable;
/*     */ import java.sql.Timestamp;
/*     */ import java.util.Set;
/*     */ 
/*     */ public class Role
/*     */   implements Serializable
/*     */ {
/*     */   private static final long serialVersionUID = -3377400845073791978L;
/*     */   private String pkid;
/*     */   private String roleSign;
/*     */   private String roleName;
/*     */   private String roleDesc;
/*     */   private Timestamp createTime;
/*     */   private Timestamp updateTime;
/*     */   private String correspondSysterm;
/*     */   private Set<Rights> rights;
/*     */   private Set<User> users;
/*     */   private Set<Group> groups;
/*     */ 
/*     */   public Set<User> getUsers()
/*     */   {
/*  25 */     return this.users;
/*     */   }
/*     */ 
/*     */   public void setUsers(Set<User> users) {
/*  29 */     this.users = users;
/*     */   }
/*     */ 
/*     */   public Set<Group> getGroups() {
/*  33 */     return this.groups;
/*     */   }
/*     */ 
/*     */   public void setGroups(Set<Group> groups) {
/*  37 */     this.groups = groups;
/*     */   }
/*     */ 
/*     */   public String getPkid() {
/*  41 */     return this.pkid;
/*     */   }
/*     */ 
/*     */   public void setPkid(String pkid) {
/*  45 */     this.pkid = pkid;
/*     */   }
/*     */ 
/*     */   public String getRoleSign() {
/*  49 */     return this.roleSign;
/*     */   }
/*     */ 
/*     */   public void setRoleSign(String roleSign) {
/*  53 */     this.roleSign = roleSign;
/*     */   }
/*     */ 
/*     */   public String getRoleName() {
/*  57 */     return this.roleName;
/*     */   }
/*     */ 
/*     */   public void setRoleName(String roleName) {
/*  61 */     this.roleName = roleName;
/*     */   }
/*     */ 
/*     */   public String getRoleDesc() {
/*  65 */     return this.roleDesc;
/*     */   }
/*     */ 
/*     */   public void setRoleDesc(String roleDesc) {
/*  69 */     this.roleDesc = roleDesc;
/*     */   }
/*     */ 
/*     */   public Timestamp getCreateTime() {
/*  73 */     return this.createTime;
/*     */   }
/*     */ 
/*     */   public void setCreateTime(Timestamp createTime) {
/*  77 */     this.createTime = createTime;
/*     */   }
/*     */ 
/*     */   public Timestamp getUpdateTime() {
/*  81 */     return this.updateTime;
/*     */   }
/*     */ 
/*     */   public void setUpdateTime(Timestamp updateTime) {
/*  85 */     this.updateTime = updateTime;
/*     */   }
/*     */ 
/*     */   public String getCorrespondSysterm() {
/*  89 */     return this.correspondSysterm;
/*     */   }
/*     */ 
/*     */   public void setCorrespondSysterm(String correspondSysterm) {
/*  93 */     this.correspondSysterm = correspondSysterm;
/*     */   }
/*     */ 
/*     */   public Set<Rights> getRights() {
/*  97 */     return this.rights;
/*     */   }
/*     */ 
/*     */   public void setRights(Set<Rights> rights) {
/* 101 */     this.rights = rights;
/*     */   }
/*     */ 
/*     */   public int hashCode()
/*     */   {
/* 106 */     int result = this.pkid != null ? this.pkid.hashCode() : 0;
/* 107 */     result = 31 * result + (this.roleSign != null ? this.roleSign.hashCode() : 0);
/* 108 */     result = 31 * result + (this.roleName != null ? this.roleName.hashCode() : 0);
/* 109 */     result = 31 * result + (this.roleDesc != null ? this.roleDesc.hashCode() : 0);
/* 110 */     result = 31 * result + (this.createTime != null ? this.createTime.hashCode() : 0);
/* 111 */     result = 31 * result + (this.updateTime != null ? this.updateTime.hashCode() : 0);
/* 112 */     result = 31 * result + (this.correspondSysterm != null ? this.correspondSysterm.hashCode() : 0);
/* 113 */     return result;
/*     */   }
/*     */ 
/*     */   public boolean equals(Object o)
/*     */   {
/* 118 */     if (this == o) return true;
/* 119 */     if ((o == null) || (getClass() != o.getClass())) return false;
/*     */ 
/* 121 */     Role role = (Role)o;
/*     */ 
/* 123 */     if (this.correspondSysterm != null ? !this.correspondSysterm.equals(role.correspondSysterm) : role.correspondSysterm != null)
/* 124 */       return false;
/* 125 */     if (this.createTime != null ? !this.createTime.equals(role.createTime) : role.createTime != null) return false;
/* 126 */     if (this.pkid != null ? !this.pkid.equals(role.pkid) : role.pkid != null) return false;
/* 127 */     if (this.roleDesc != null ? !this.roleDesc.equals(role.roleDesc) : role.roleDesc != null) return false;
/* 128 */     if (this.roleName != null ? !this.roleName.equals(role.roleName) : role.roleName != null) return false;
/* 129 */     if (this.roleSign != null ? !this.roleSign.equals(role.roleSign) : role.roleSign != null) return false;
/* 130 */     if (this.updateTime != null ? !this.updateTime.equals(role.updateTime) : role.updateTime != null) return false;
/*     */ 
/* 132 */     return true;
/*     */   }
/*     */ }

/* Location:           C:\Users\Administrator\.m2\repository\cn\ruida\sms\portal\domain\1.0.0-SNAPSHOT\domain-1.0.0-20140701.095003-108.jar
 * Qualified Name:     cn.j2e.portal.domain.Role
 * JD-Core Version:    0.6.2
 */